package com.yhn.registration.service;


import com.hospital.common.pojo.TDepartment;
import com.hospital.common.pojo.TDoctorInfo;
import com.hospital.common.pojo.TDoctorSchedule;

import java.util.List;

public interface DepartmentService {

    List<TDepartment> listAll();

    List<TDoctorInfo> doctor();

    List<TDoctorInfo> doctorByDept(Long deptId);

    List<TDoctorInfo> getDoctorByName(String name);

    List<TDoctorSchedule> getDoctorSchedule(Long doctorId);

    List<TDoctorInfo> doctorsByDeptAndSchedule(Long deptId, String date, Integer hourSlot);

    String getDoctorNameByInfoId(Long infoId);

    Long getUserIdByInfoId(Long infoId);
}



